/**
 * Copyright (c) 2005 Frank Toennies
 * Redistributions in source code form must reproduce the above copyright and this condition.
 * The contents of this file are subject to the Sun Project JXTA License Version 1.1 (the "License");
 * you may not use this file except in compliance with the License.
 * A copy of the License is available at http://www.jxta.org/jxta_license.html.
 * Please see the license information page for instructions on use of the license in source files.
 *
 * This software consists of voluntary contributions made by many individuals on behalf of Project JXTA.
 * For more information on Project JXTA, please see http://www.jxta.org.
 *
 */
package net.jxta.myjxta.plugin;

/**
 * Enumeration that holds all MyJxta Selection Node Types
 */
public class SelectionNodeType
{
    //nano: here for backward compatibility only, DONT USE THIS TYPE
    public static final SelectionNodeType UNKNOWN = new SelectionNodeType("UNKNOWN");

    public static final SelectionNodeType Peer = new SelectionNodeType("Peer");
    public static final SelectionNodeType Group = new SelectionNodeType("Group");
    public static final SelectionNodeType FileShare = new SelectionNodeType("FileShare");

    private final String myName; // for debug only

    private SelectionNodeType(String name)
    {
        myName = name;
    }

    public String toString()
    {
        return myName;
    }
}
